package com.itheima.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 班级
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
//@JsonFormat(pattern = "yyyy-MM-dd")
public class Clazz {
    private Integer id;
    private String room;
    private String name;
    private LocalDate beginDate;
    private LocalDate endDate;
    private Integer masterId;//班主任id
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String masterName;//班主任姓名
    private String status;

    private String subject;//学科

}
